home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19980901-19981211
/
000292_news@newsmaster….columbia.edu _Tue Nov 10 14:13:08 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA21299
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 10 Nov 1998 14:13:04 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id OAA22647
for kermit.misc@watsun; Tue, 10 Nov 1998 14:13:03 -0500 (EST)
Path: news.columbia.edu!panix!howland.erols.net!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed.cwix.com!207.20.0.50!peerfeed.ncal.verio.net!news1.best.com!vnetnews.value.net!not-for-mail
From: Mark Sapiro <msapiro@value.net>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: telnet connection with script
Date: Tue, 10 Nov 1998 11:01:20 -0800
Organization: Not Very Much
Lines: 40
Message-ID: <36488D80.3C35@value.net>
References: <71scrf$7ct$1@nnrp1.dejanews.com> <726pag$338$1@nnrp1.dejanews.com> <726stp$176$1@apakabar.cc.columbia.edu> <729ckj$a24$1@nnrp1.dejanews.com>
Reply-To: Mark Sapiro <msapiro@value.net>
NNTP-Posting-Host: op214.value.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01 (Win95; I)
To: bruds@luk.de
Xref: news.columbia.edu comp.protocols.kermit.misc:9498
bruds@luk.de wrote:
>
> In article <726stp$176$1@apakabar.cc.columbia.edu>,
> jaltman@watsun.cc.columbia.edu (Jeffrey Altman) wrote:
> > In article <726pag$338$1@nnrp1.dejanews.com>, <bruds@luk.de> wrote:
> > : >
> > : Soory I forgot the script as an examples:
> > :
> > : set host localhost 25
> > : output helo
> > : output mail from:<bruds>
> > : output rcpt to:<bruds>
> > : output data
> > : output Halllllo
> > : output \10\13.\10\13
> > : output \10\13
> > : output quit
> > : connect
> > :
> >
> > If you do not want interactive mode do not use the CONNECT command.
> >
> > <snip>
> >
> If I should not use CONNECT which command instead?
Use INPUT commands to wait for expected prompts from the host and
synchronize output from OUTPUT commands. For example:
set host localhost 25
input 10 {220 }
if failure end 1 No response from host
input 1 \10
if failure ...
output helo
...
--
Mark Sapiro <msapiro@value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan